package bit.lotterysystem.service.dto;

import lombok.Data;

import java.util.List;

@Data
public class PageListDTO<T> {

    private Integer total;

    private List<T> records;

    public PageListDTO( Integer total, List<T> records) {
        this.total=total;
        this.records=records;
    }
}
